package com.easylive.entity.request.ucenter;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @Author: yudaxian
 * @DateTime: 2024/11/8 16:01
 **/
@Data
public class WebUcenterPostVideoReqVO {

    private String videoId;

    /**
     * 视频封面
     */
    @NotBlank
    private String videoCover;

    /**
     * 视频名称
     */
    @NotBlank
    @Size(max = 100)
    private String videoName;

    /**
     * 父级分类ID
     */
    @NotNull
    private Integer pCategoryId;

    private Integer categoryId;

    /**
     * 0：自制，1：转载
     */
    @NotNull
    private Integer postType;

    /**
     * 视频标签
     */
    @NotBlank
    @Size(max = 300)
    private String tags;

    /**
     * 视频简介
     */
    @Size(max = 2000)
    private String introduction;

    /**
     * 互动设置
     */
    @Size(max = 3)
    private String interaction;

    /**
     * 视频文件名列表(JSONArray)
     */
    @NotBlank
    private String uploadFileList;
}
